//
//  SAShopWKWebVC.m
//  saasRetail
//
//  Created by mac on 2022/9/9.
//

#import "SAShopWKWebVC.h"
#import "HDWKWebView.h"

@interface SAShopWKWebVC ()

@end

@implementation SAShopWKWebVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
}

-(instancetype)initWithTitle:(NSString *)title AndUrl:(NSString *)url {
    if (self =  [super init]) {
        [self setNavigationItemBackBBI:@"" AndTitle:title];
        [self setBgImage:nil];
        HDWKWebView *webView = [[HDWKWebView alloc] initWithConfig:nil frame:CGRectMake(0, kScaleNum(StatusHeight), kScreenWidth, kScreenHeight - kScaleNum(StatusHeight))];
        webView.url = url;
        webView.isAdaptive = YES;
        [webView startLoadUrl];
        [self.view addSubview:webView];
    }
    return self;
}

#pragma mark - initUI
-(void)initUI {
    
}

@end
